/*
 * MyTurdlet3.java
 *
 * Created on October 19, 2006, 1:25 AM
 *
 */

package app;

import tomkitty.server.*;
import tomkitty.turdlet.*;
import tomkitty.util.*;


/**
 *
 * @author micha
 */
public class MyTurdlet3 extends TurdletBase implements EventListener {
    
    public void doit() {
				persist();
				TomkittyEvents.addListener(this);
    }

		public synchronized void onEvent(Event event) {
				print(event.getMessage());
				notify();
		}

}
